package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description 船只部位捐献日志
 * @Author cwq
 * @Data 2022/2/22 21:31
 */
@FieldTypeAnnotation(tableName = "t_c_ck_activity_seacraftsouthsea_donation_log",desc = "南海丝路-船只部位捐献日志",autoSave = true,uploadCk = true,isCross = true)
public class LogSeacraftSouthSeaDonation extends ServerBaseLog{
    @FieldTypeAnnotation(desc = "活动id",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会id",isIndex = true)
    private String unionId;
    @FieldTypeAnnotation(desc = "船只部位 type ")
    private int type;
    @FieldTypeAnnotation(desc = "捐献数量")
    private long value;
    @FieldTypeAnnotation(desc = "个人捐献前的数量")
    private long oldValue;
    @FieldTypeAnnotation(desc = "个人捐献前的数量")
    private long newValue;
    @FieldTypeAnnotation(desc = "联盟捐献前的数量")
    private long unionOldValue;
    @FieldTypeAnnotation(desc = "联盟捐献前的数量")
    private long unionNewValue;
    @FieldTypeAnnotation(desc = "捐献类型 1正常捐献 2加入联盟")
    private int status;



    public LogSeacraftSouthSeaDonation(int activityId, long userId, String unionId, int type, long value, long oldValue, long newValue, long unionOldValue, long unionNewValue, int status, long time) {
        this.activityId = activityId;
        this.userId = userId;
        this.unionId = unionId;
        this.type = type;
        this.value = value;
        this.oldValue = oldValue;
        this.newValue = newValue;
        this.unionOldValue = unionOldValue;
        this.unionNewValue = unionNewValue;
        this.status = status;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public long getOldValue() {
        return oldValue;
    }

    public void setOldValue(long oldValue) {
        this.oldValue = oldValue;
    }

    public long getNewValue() {
        return newValue;
    }

    public void setNewValue(long newValue) {
        this.newValue = newValue;
    }

    public long getUnionOldValue() {
        return unionOldValue;
    }

    public void setUnionOldValue(long unionOldValue) {
        this.unionOldValue = unionOldValue;
    }

    public long getUnionNewValue() {
        return unionNewValue;
    }

    public void setUnionNewValue(long unionNewValue) {
        this.unionNewValue = unionNewValue;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

}
